<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Pizzaria SENAC- Cadastro de Pizzas</title>

<sj:head />

<style type="text/css">
@import url(css/style.css);
</style>
</head>

<body>

	<s:form method="post" action="incluirPizza" theme="xhtml">

		<h1>Cadastrar Pizza</h1>


		<s:hidden name="id" />

		<s:textfield label="Nome" name="pizza.nome" minlength="5"
			maxlength="40" requiredLabel="true"></s:textfield>
		
		<s:textfield label="Descrição" name="pizza.descricao" minlength="15"
			maxlength="200" requiredLabel="true"></s:textfield>
		
		<s:textfield label="Preço" name="pizza.preco" maxlength="10"
			requiredLabel="true"></s:textfield>

		<br />

		<s:submit value="Incluir Pizza"></s:submit>

		<s:actionmessage />

	</s:form>

	<br>

	<a href="index.jsp">Página Inicial</a>

	<br>
	<br>

	<a href="listarPizza.action">Listar Pizzas</a>

	<br>
	<br>

	<a href="buscaPizza.jsp">Procurar Pizzas</a>





</body>
</html>